<%--
  Created by IntelliJ IDEA.
  User: apple
  Date: 2016/12/7
  Time: 上午9:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>$Title$</title>
    <link rel="stylesheet" type="text/css" href="../css/style.css">
    <%@ include file="jsp/commonStyle.jsp"%>

</head>
<body>

<ul class="nav nav-tabs" role="tablist">
    <li role="presentation" ><a href="register.jsp">注册</a></li>
    <li role="presentation" class="active"><a href="login.jsp">登录</a></li>
</ul>
<%@ include file="jsp/commonHeader.jsp"%>

<form id="myForm" name="myform" action="User_login.do" target="_self" method="post" class="cmxform" >
    <!-- 用户名 -->
    <div>
        <label for="userPhone">手机号</label>
        <label class="requireLabel">REQUIRED</label>
        <input type="text" name="userPhone" id="userPhone" class="inputbox" >
    </div>
    <!-- 密码 -->
    <div>
        <label for="userPassword">密码</label>
        <label class="requireLabel">REQUIRED</label>
        <input type="password" id="userPassword" name="userPassword" class="inputbox">
    </div>
    <!-- 登录按钮 -->
    <button type="submit" >登录</button>

    <s:if test="#attr.errorMsg != null">
        <div class="alert alert-danger" role="alert"><s:property value="#attr.errorMsg"/></div>
    </s:if>


</form>

<%@ include file="jsp/commonFooter.jsp"%>

<%@ include file="jsp/commonJS.jsp"%>
<script type="text/javascript" src="../js/byJQuery.js"></script>



</body>
</html>
